<?php

class User_Form_Login extends Form
{

    function init()
    {
        $this -> addChild('email', 'email', array('label' => 'Email address'));
        $this -> addChild('password', 'password', array('label' => 'Password'));
        $this -> addChild('checkbox', 'remember', array('label' => 'Remember me'));
        $this -> addChild('group', 'buttons');
        $this -> buttons -> addChild('submit', '_submit', array('label' => 'Login'));
    }

}
